﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JqueryNet.FormControl.FormHtmlControl
{
    public class JHtmlInputHidden : JHtmlControl
    {
        private System.Web.UI.HtmlControls.HtmlInputHidden htmlInputHidden;

        public JHtmlInputHidden(System.Web.UI.HtmlControls.HtmlInputHidden htmlInputHidden):base(htmlInputHidden)
        {
            // TODO: Complete member initialization
            this.htmlInputHidden = htmlInputHidden;
        }

        public override void Val()
        {
            Value = htmlInputHidden.Value;
        }

        public override void Val(string value)
        {
            htmlInputHidden.Value = value;
        }

    }
}
